package com.gitee.chenyaohua

import org.apache.maven.plugin.MojoExecutionException
import org.apache.maven.plugin.MojoFailureException
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.MockitoAnnotations
import org.mockito.Spy
import org.mockito.runners.MockitoJUnitRunner

import java.lang.reflect.Field

@RunWith(value = MockitoJUnitRunner.class)
class GenerationCodeGrooyTest {

    @Spy
    GenerationCode generationCode

    @Before
    void setUp() throws Exception {

        MockitoAnnotations.initMocks(this)
    }

    @Test
    void execute() throws MojoFailureException, MojoExecutionException {
        println("-------------start---------------------")

        generationCode.execute()

        println("-------------end---------------------")
    }




}